package com.tbm.repository;

import com.tbm.entity.MenuEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by Administrator on 2017/8/30.
 */
public interface MenuEntityRepository extends JpaRepository<MenuEntity,Integer> {

    List<MenuEntity> findByParentId(String parentId);


}
